package com.dk.service.impl;


import com.dk.mapper.TbCarsMapper;
import com.dk.pojo.TbCars;
import com.dk.service.Carservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CarsServiceimpl implements Carservice {

    @Autowired
    private TbCarsMapper tbCarsMapper;

    @Override
    public TbCars selectByid(Long id) {

    return tbCarsMapper.selectById(id);
    }
}
